-
Notifications
You must be signed in to change notification settings - Fork 463
[FLINK-37669][HELM] Add Helm chart unit tests to flink kubernetes operator #971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Yi Chen <[email protected]>
Signed-off-by: Yi Chen <[email protected]>
Signed-off-by: Yi Chen <[email protected]>
545ca1a
to
f8507c6
Compare
Why did you refactor the helm chart? Is that necessary for the tests to be added? |
It is not strictly really necessary, but refactoring it would make it easier to write Helm unit tests. If each template file contains only one resource, there will be no need to select the document to test from a multi-document YAML file. |
Makes sense, would it be possible to integrate the helm test into the maven build or at least the GitHub CI? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What would be a good way to compare and make sure that the helm chart did not change before and after the refactor?
Have raised PR #974 to add Helm lint and tests to the CI. |
Please include that commit in this PR so we can test together |
Could you please rebase on the latest (minor) helm chart changes? Also please provide some comment / proof to show that the helm chart did not change during the refactoring that would speed up the review and we can merge it faster |
What is the purpose of the change
(For example: This pull request adds a new feature to periodically create and maintain savepoints through the
FlinkDeployment
custom resource.)Add Helm chart unit tests to flink kubernetes operator, see helm-unittest.
Brief change log
.helmignore
to ingore helm unit test filesVerifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
CustomResourceDescriptors
: (no)Documentation